import { ApiExtraModels, ApiProperty } from "@nestjs/swagger";

// @ApiExtraModels(DeptDto)
export class DeptDto {
  @ApiProperty({ description: "部门编码" })
  deptCode: string;

  @ApiProperty({ description: "部门名称" })
  deptName: string;

  @ApiProperty({ description: "父级编码" })
  pId: string;

  @ApiProperty({ description: "备注" })
  remark: string;
}
